<?php
class loginForm extends participantForm
{
  public function setup()
  {
    parent::setup();

    foreach ($this as $key => $value) {
    	$names[$key] = $value;
    }
    
    foreach ($names as $key => $value) {
    	if($key!='email' && $key!='password'){
    		unset($this[$key]);
    	};
    }
    $this->setMandatory('password');
    
  }
}